﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Collections;

namespace RoughJs.Helper
{
    class DictionaryHelper<T>
    {
        public static bool Like(ICollection<T> ds1, ICollection<T> ds2)
        {
            foreach (T ob in ds1)
            {
                foreach (T ob2 in ds2)
                {
                    if (ob.Equals(ob2))
                        return true;
                }
            }
            return false;
        }
    }
}
